package com.ruoyi.sywx.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 舆情和涉情单位关联业务对象 yq_unit_link
 *
 * @author ruoyi
 * @date 2024-01-09
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class YqUnitLinkBo extends BaseEntity {

    /**
     * 舆情id
     */
    @NotNull(message = "舆情id不能为空", groups = { EditGroup.class })
    private Long yqId;

    /**
     * 单位id
     */
    @NotNull(message = "单位id不能为空", groups = { EditGroup.class })
    private Long unitId;


}
